<template>
  <div>
    <h1>测试1</h1>
    <button @click="hanleSubmit">测试提交</button>
  </div>
</template>

<script>
	import {testSavePost, testSaveGet} from "../network/Test1/test1";
	export default {
		name: "Test1",
    methods: {
			hanleSubmit() {
				const params = {
					name: 'zs',
          age: 19,
          hobby: ['football', 'basketball', 'pingpong'],
          girl: {
						name: '小华',
            age: 2
          }
        };
				testSavePost(params).then(res => {
					console.log(res);
				})
      }
    }
	}
</script>

<style scoped>

</style>